package cz.proks.easyhelpdesk.api;

import java.util.List;

import cz.proks.easyhelpdesk.api.exception.ApiException;
import cz.proks.easyhelpdesk.api.model.HelpdeskMember;
import cz.proks.easyhelpdesk.api.model.HelpdeskRole;

public interface HelpdeskMemberApi extends BaseApi<HelpdeskMember> {
    HelpdeskMember getForUserAndHelpdesk(Long userId, Long helpdeskId) throws ApiException;
    List<HelpdeskMember> listForUser(Long userId) throws ApiException;
    List<HelpdeskMember> listForHelpdesk(Long helpdeskId) throws ApiException;
    
    void addHelpdeskRole(Long id, HelpdeskRole helpdeskRole) throws ApiException;
    void removeHelpdeskRole(Long id, HelpdeskRole helpdeskRole) throws ApiException;
}
